package com.heima.shopweb.service;

import com.heima.shopweb.model.Cart;

import java.util.List;

public interface CartService {
    List<Cart> findByMemberId(Integer memberId);

    boolean update(Cart cart);

    boolean delete(Integer id);

    boolean insert(Cart cart);

    Cart findByCart(Cart cart);
}
